home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / batchlrn.arc / BATDO-1.HLP < prev    next >
Text File  |  1991-06-17  |  1KB  |  24 lines

  1.     YOU'RE IN FOR IT NOW! WE'RE GOING TO GO "BATCHING" AND WHEN YOU'RE DONE IT
  2.     WILL START GETTING CLEARER! LET'S START WITH SOME EASY ONES THEN..."MOVE"!
  3.  
  4.            The following command is a candidate for a batch file
  5.            because it requires so much typing. You could call it
  6.            DIRDATE.BAT because it sorts the directory listing on
  7.            the date column using the SORT command (See SORT.HLP)
  8.            & sends the listing to the printer(a file also works).
  9.    
  10.                  >COPYCON: DIRDATE.BAT
  11.                            DIR 1 SORT/+33>PRN
  12.                            CTRL Z <RET>
  13.            In this example, you are on the verge of actually pro-
  14.            gramming the computer. DOS batch-file processing isn't
  15.            considered a programming language>>(we disagree)<< but
  16.            you can see the power that is available when you using
  17.            batch-file subcommands to automate keystrokes.
  18.  
  19.            Another similar file is NONCOM.BAT; it will display a
  20.            directory listing (& reports vol.)of files NOT ending
  21.            with extension .COM: (it's a simple two-liner)
  22.                >COPY CON:NONCOM.BAT
  23.                  DIR | FIND/V"COM"  (now <F6> or Ctrl Z)
  24.